package cn.springboot.app;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.orm.jpa.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@ComponentScan("cn.springboot.controller")
@EnableAutoConfiguration
@EnableJpaRepositories("cn.springboot.dao")
@EntityScan("cn.springboot.model")
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class,args);
        /*！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！！*/
        //整合springboot +springjpa(spring对hibernate的封装)
    }
}
